package org.x.casemodule.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.lang.Long;
import java.util.Date;
import java.lang.Object;
import java.lang.String;
import java.lang.Integer;

/**
 * 文书模板表 实体类。
 *
 * @author mybatis-flex-helper automatic generation
 * @since 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(value = "document_template", dataSource = "caseDS")
public class DocumentTemplateEntity {

    /**
     * 模板ID
     */
    @Id(keyType = KeyType.Auto)
    private Long id;

    /**
     * 模板名称
     */
    @Column(value = "template_name")
    private String templateName;

    /**
     * 模板类型
     */
    @Column(value = "template_type")
    private String templateType;

    /**
     * 模板分类
     */
    @Column(value = "category")
    private Object category;

    /**
     * 适用案件类型
     */
    @Column(value = "case_types")
    private String caseTypes;

    /**
     * 模板内容(HTML格式)
     */
    @Column(value = "template_content")
    private String templateContent;

    /**
     * 模板描述
     */
    @Column(value = "description")
    private String description;

    /**
     * 是否启用
     */
    @Column(value = "is_active")
    private Integer isActive;

    /**
     * 版本号
     */
    @Column(value = "version")
    private Integer version;

    @Column(value = "create_time")
    private Date createTime;

    @Column(value = "update_time")
    private Date updateTime;


}
